package com.blog.entity.mid;

import java.util.Date;

/**
 * @author 蒲鑫
 * @function 功能：中间表userLike的全部信息
 * @date 2023年6月1日
 */
public class UserLike {
	private int userLikeId;//用户关注id

	private int userId;//用户id

	private int likeId;//被关注的用户id

	private Date likeDate;//关注时间

	public int getUserLikeId() {
		return userLikeId;
	}

	public void setUserLikeId(int userLikeId) {
		this.userLikeId = userLikeId;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getLikeId() {
		return likeId;
	}

	public void setLikeId(int likeId) {
		this.likeId = likeId;
	}

	public Date getLikeDate() {
		return likeDate;
	}

	public void setLikeDate(Date likeDate) {
		this.likeDate = likeDate;
	}

	@Override
	public String toString() {
		return "UserLike [userLikeId=" + userLikeId + ", userId=" + userId + ", likeId=" + likeId + ", likeDate="
				+ likeDate + "]";
	}

	public UserLike(int userLikeId, int userId, int likeId, Date likeDate) {
		super();
		this.userLikeId = userLikeId;
		this.userId = userId;
		this.likeId = likeId;
		this.likeDate = likeDate;
	}

	public UserLike() {
		super();
	}

}
